package org.snail.proxy.proto;

/**
 * @author fxd
 * @version 1.0.0
 * @ClassName NetConstants.java
 * @Description TODO
 * @createTime 2022年03月02日 17:40:00
 */
public class NetConstants {
    //HEAD
    public static final short PROTOCOL_HEAD = 0X80;
    //头部的长度： HEAD + CMD + SID + 报文长度
    public static final short PROTOCOL_HEADLENGTH = 17;
    //长度的偏移
    public static final short LENGTH_OFFSET = 13;
    //长度的字节数
    public static final short LENGTH_BYTES_COUNT = 4;

}
